package com.school.demo.service;

import com.school.demo.model.auto.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author Charlotte
 * @since 2021-03-01
 */
public interface IUserService extends IService<User> {

    User findByPhone(String phone);
    Map<String,Object> login(Map<String,Object> map);
    Map<String,Object> logout(Map<String,Object> map);
    Map<String,Object> register(User user);
}
